package com.ebeitech.auction.view.homepage.mvppresenter;

import com.ebeitech.auction.view.homepage.mvpview.LoginContract;

import dagger.Module;
import dagger.Provides;

/**
 * Created by alice on 2017/10/30.
 */

@Module
public class LoginPresenterModule {

	LoginContract.View mView;

	public LoginPresenterModule(LoginContract.View view) {
		this.mView = view;
	}

	@Provides
	LoginContract.Presenter providerPresenter() {
		return new LoginPresenter(mView);
	}

	@Provides
	LoginContract.View providerView() {
		return mView;
	}

}
